#!/usr/bin/python3
import sys

increases = 0
old_value = None
for line in sys.stdin:
    value = int(line.rstrip('\n'))
    if old_value:
        increases += 1 if value > old_value else 0
        print(value, '({})'.format('increased' if value > old_value else 'decreased' if value < old_value else 'same'))
    else:
        print(value, '(N/A no previous value)')
    old_value = value

print('total of {} increases'.format(increases))
